FROM java:openjdk-8-alpine
VOLUME /tmp
ADD target/renren-fast.jar app.jar
ENV JAVA_OPTS=""
ENTRYPOINT ["sh", "-c", "java $JAVA_OPTS -Djava.security.egd=file:/dev/./urandom -jar /app.jar"]
